<template>
	<view class="box">
		首页 {{userInfo}}
		<button @click="toNext">下一个页面</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				banner: []
			}
		},
		computed: {
			userInfo() {
				return this.$store.state.userInfo;
			}
		},
		onLoad() {


		},
		methods: {
			toNext(){
				uni.navigateTo({
					url:'/pages/test/test'
				})
			}
		}
	}
</script>

<style lang="scss">

</style>